<div class="view">

    <b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b>
<?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id' => $data->id)); ?>
    <br />

    <b><?php echo CHtml::encode($data->getAttributeLabel('nome')); ?>:</b>
<?php echo CHtml::encode($data->nome); ?>
    <br />

    <b><?php echo CHtml::encode($data->getAttributeLabel('biografia')); ?>:</b>
<?php echo CHtml::encode($data->biografia); ?>
    <br />
       <b><?php echo CHtml::encode($data->getAttributeLabel('aforisma')); ?>:</b>
<?php echo CHtml::encode($data->aforisma); ?>
    <br />

    <b><?php echo CHtml::encode($data->getAttributeLabel('idBanner')); ?>:</b>

<?php
if ($data->idBanner > 0 && $data->Banner->FilesID > 0) {
    $fileInfo = FileInfos::model()->findByPk($data->Banner->FilesID);
    if ($fileInfo->Thumbnails != '') {
        ?>
            &nbsp;&nbsp;&nbsp;<img src="<?php echo $fileInfo->Thumbnails; ?>" heigth="70"/>

            <?php
        }
    }
    ?>


    <br />

    <b><?php echo CHtml::encode($data->getAttributeLabel('idLogo')); ?>:</b>
<?php
if ($data->idLogo > 0 && $data->Logo->FilesID > 0) {
    $fileInfo = FileInfos::model()->findByPk($data->Logo->FilesID);
    if ($fileInfo->Thumbnails != '') {
        ?>
            &nbsp;&nbsp;&nbsp;<img src="<?php echo $fileInfo->Thumbnails; ?>" width="100"/>

            <?php
        }
    }
    ?>
    <br />

    <b><?php echo CHtml::encode($data->getAttributeLabel('idx_TipiAutore')); ?>:</b>
<?php echo CHtml::encode($data->TipoAutore->descr); ?>
    <br />

    <b><?php echo CHtml::encode($data->getAttributeLabel('idCategoria')); ?>:</b>
<?php echo CHtml::encode($data->Categoria->descr); ?>
    <br />


</div>